<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!--    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />-->
   <title>数据可视化大屏看板</title>
      <style>
      html {
          touch-action: manipulation;
          -ms-touch-action: manipulation;
      }
      body {
          overscroll-behavior: none;
      }
      #app{
           width: 100%;
           height: 100%;
      }
      </style>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.js"></script>
  </body>
  <script>
  // // 禁止双指缩放
  // document.addEventListener('touchstart', function (event) {
  //     if (event.touches.length > 1) {
  //         event.preventDefault();
  //     }
  // }, { passive: false });
  // // 禁止双击缩放
  // let lastTouchEnd = 0;
  // document.addEventListener('touchend', function (event) {
  //     const now = (new Date()).getTime();
  //     if (now - lastTouchEnd <= 300) {
  //         event.preventDefault();
  //     }
  //     lastTouchEnd = now;
  // }, false);
  // // 禁止鼠标滚轮缩放 (Ctrl + 滚轮)
  // document.addEventListener('wheel', function (e) {
  //     if (e.ctrlKey) {
  //         e.preventDefault();
  //     }
  // }, { passive: false });
  // // 禁止键盘缩放 (Ctrl + +/-)
  // document.addEventListener('keydown', function (e) {
  //     if (e.ctrlKey && (e.key === '+' || e.key === '-' || e.key === '=' || e.key === '_')) {
  //         e.preventDefault();
  //     }
  // });
  </script>
</html>
